package com.ling.sbbyyds.entity.news;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 发送的消息
 */
@Data
@Table(name = "sbb_news_message_read")
public class MessageLastReadTime {

    @Id
    @ApiModelProperty("用户id")
    private Long toUserId;

    @ApiModelProperty("最后一次获取离线消息的时间")
    private Date lastReadTime;

}
